<?php
/**
 * Created by PhpStorm.
 * User: sunshubo
 * Date: 2017/11/26
 * Time: 23:04
 */

class GetClassDetail_control extends MY_Controller
{
    function index()
    {
        $this->load->model('course/GetClassDetail_model', 'detail');
        $body = $_POST;
        if (!$body) {
            $body = $this->input->raw_input_stream;
        }
        echo $this->detail->get_class_detail($body);
    }

}